package cn.jetpiece.cloud.system.dp.api.biz.model.params;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ToString
public class ProjectAddParam implements Serializable {

    @ApiModelProperty("项目名称")
    @NotBlank(message = "projectName2 is null")
    private String projectName2;

    @ApiModelProperty("项目编号")
    @NotNull(message = "projectId is null")
    private Integer projectId;

    @ApiModelProperty("项目uuid")
    @NotBlank(message = "projectUuid is null")
    private String projectUuid;

    @ApiModelProperty("工程分类")
    //@NotBlank(message = "projectType is null")
    //@AssertDict(code = "PROJECT_TYPE")
    private String projectType;

    @ApiModelProperty("项目状态")
    private Integer status;

    @ApiModelProperty("施工许可证号")
    private String projectChartReviewNum;

    @ApiModelProperty("项目省级")
    private String provinceNum;

    @ApiModelProperty("项目市级")
    private String cityNum;

    @ApiModelProperty("项目区县")
    private String countryNum;

    @ApiModelProperty("项目地址")
    private String projectAddress;

    @ApiModelProperty("项目经度")
    private String longitude;

    @ApiModelProperty("项目纬度")
    private String latitude;

    @ApiModelProperty("项目联系人")
    private String placeChargeUser;

    @ApiModelProperty("联系人电话")
    private String placeChargeUserPhone;

    @ApiModelProperty("数据状态")
    private Integer isDel;

    @ApiModelProperty("开工日期")
    private String bDate;

    @ApiModelProperty("竣工日期")
    private String eDate;

    @ApiModelProperty("计划开工日期")
    private String planBegDate;

    @ApiModelProperty("计划竣工日期")
    private String planEndDate;

    @ApiModelProperty("简介")
    private String memo;

    @ApiModelProperty("总投资(万元)")
    private String allInvest;

    @ApiModelProperty("总面积(平方米)")
    private String allArea;

    @ApiModelProperty("总长度(米)")
    private String allMuniLength;

    @ApiModelProperty("立项文号")
    private String approvalNum;

    @ApiModelProperty("立项级别")
    private String level;

    @ApiModelProperty("建设单位")
    private String buildCorpName;

    @ApiModelProperty("建设规模")
    private String priSize;

    @ApiModelProperty("项目用途")
    private String functionNum;

}
